{include file='../../../PublicView/include.html'}
<link href="http://g.tbcdn.cn/kissy/k/1.3.2/??calendar/assets/shopadmin/dpl-min.css" rel="stylesheet">
<script src="/assets/shopadmin/shopmodule/order.js"></script>
<div class="taeapp admin-table" cellpadding="0" cellspacing="0" border="0">
        <div class="taeapp admin-table-side  tips tips-small tips-notice tips-no-icon">
            <!--菜单部分-->
            <div class="taeapp admin-nav">
			{include file='../../../PublicView/shopleft.html'}
			</div>
            <!--菜单部分-->
        </div>
        <div class="taeapp admin-table-main">
            <!--内容部分-->
				<ul class="breadcrumb">
					<li><a href="/">互动到店</a> <span class="divider">/</span></li>
					<li>订单管理 <span class="divider">/</span></li>
					<li class="active">{$title}</li>
				</ul>
		
			<!--内容部分-->
			{include file='../../../PublicView/showmessage.html'}
			<div class="row">
			<form action="/?m=shopadmin&c=wins&a=order_save" method="post">
			<table cellspacing="0" class="table table-bordered">
				<tbody>
				  <tr class="add">
					<td>
					订单号：<input type="text" value="{$item.oid|default:''}" class=" control-text oid"  data-post="oid" name="oid[]">
					买家旺旺：<input type="text" value="{$item.buyer_nick|default:''}" class="span2 control-text buyer_nick" data-post="buyer_nick" name="buyer_nick[]">
					交易额：<input type="text" value="{$item.payment|default:''}" class="span2 control-text payment" data-post="payment" name="payment[]">元
					时间：<input type="text" style="width:140px" value="{$item.pub_time|default:''}" class="span2  calendar control-text pub_time" data-post="pub_time" name="pub_time[]">
					交易类型：
					<select class="input-small" data-tip="tip{$key|default:''}" name="topic[]" >
						{foreach from=$topics item=item key=key}
						<option value="{$key}" {if $item.topic==$key}selected="selected"{/if}>{$item}</option>
						{/foreach}
					</select>
					</td>
				  </tr>
				</tbody>
			</table>
			</div>	
			<div class="row toolbar pull-right">
			<button class="button button-mini button-success js-add" type="button"><i class="icon icon-white icon-plus"></i>增加</button>
			</div>	
			<div class="control-group span20 centered res">
			<button class="button save" type="submmit" >保存</button>
			</div>		
			</form>			
			<input type="hidden" class="type" value="{$type|default:0}" />
        <!--内容部分-->
        </div>
</div>
